class father(object):
    def __init__(self, name):
        self.name=name
        print "name:", self.name
    def get_name(self):
        return 'father ' + self.name
class GeYuSheng(father):
    def get_parent_name(self):
        return self.name
 
if __name__=='__main__':
    my_name=GeYuSheng('myfather')
    print my_name.get_parent_name()

